package com.minsf.springbootinit.dcl;

/**
 * @Description 饿汉式
 * @Author minify
 * @Date 2024/1/2 21:49
 * @Project oj-backend
 */
public class Hunger {

    private final static Hunger instance = new Hunger();

    private Hunger(){}

    public Hunger getInstance() {
        return Hunger.instance;
    }
}
